gperftools: include headers in the staging_dir
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 9 Oct 2025 06:54:51 +0000 (08:54 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 10 Oct 2025 06:17:55 +0000 (08:17 +0200)
commite52a809371cbb055b1cc831f4e5aac152d1fb2b9
tree51f714b811f5f712204164167365e97f2eefae51
parent02f78bc30acceab54c97165c09dbdab4297539bd
gperftools: include headers in the staging_dir

This fixes version detection issues when other packages (like snort3)
try to find the tcmalloc library using CMake's find_package(). Without
the headers in the staging directory, CMake cannot read the version
information from tcmalloc.h, resulting in empty version strings.

Fixes:
Found TCMalloc: /builder/staging_dir/target-x86_64_musl/usr/lib/libtcmalloc.so (found version "")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
libs/gperftools/Makefile